﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QLBH
{
    public partial class QLBH : Form
    {
        public QLBH()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DangNhap dn = new DangNhap();
            dn.ShowDialog();
        }

        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void btnNhaplieu_Click(object sender, EventArgs e)
        {
            HopDong hopdong = new HopDong();
            ViewMain.Visible = true;
            ViewMain.Controls.Clear();
            ViewMain.Controls.Add(hopdong);
        }

        private void btnNhaptuform_Click(object sender, EventArgs e)
        {
            ThemHopDong thd = new ThemHopDong();
            thd.ShowDialog();
        }
    }
}
